﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DirectSell.Model.TreeList
{
    /// <summary>
    /// 树状图模型
    /// </summary>
    public class ZTreeList
    {
        /// <summary>
        /// Id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 父ID
        /// </summary>
        public int pid { get; set; }
        /// <summary>
        /// 显示字段
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 是否打开
        /// </summary>
        public bool open { get; set; } = false;
        /// <summary>
        /// 是否为父级
        /// </summary>
        public bool isParent { get; set; } = false;

    }
}
